package main

import "fmt"

func main() {
	a := 43

	fmt.Println(a)
	fmt.Println(&a)
	var b = &a
	fmt.Println(b)
	fmt.Println(*b)

	a = 45
	fmt.Println("------------------------")
	fmt.Println(a)
	fmt.Println(&a)
	fmt.Println(b)
	fmt.Println(*b)

	fmt.Println("------------------------")
	var s = *b //获取 b地址上的值 赋值给s
	fmt.Println(s)
	fmt.Println(&s)

}
